from django.shortcuts import render

from django.http import HttpResponse


# Create your views here.
def index(request):
    return HttpResponse('Hi Django')


def hehe(request):
    return HttpResponse('响应很简单')


def haha(request):
    return HttpResponse('<h1>还可以自动渲染html标签啦</h1>')


def index2(request):
    return render(request, 'index2.html')


def index3(request):
    return render(request, 'index3.html')
